Figure 1.6 : H ash function

Use of hash functions in blockchain

The hash functions are used to protect the integrity of data. Given a trusted

hash of the data, it is possible to calculate the hash of the data and compare

the two values. If they match, then the data has likely not been modified

since the original hash was created.

The digital ledger of the blockchain is designed to store valuable

information that can benefit an attacker if modified in their favor.